import axios from '@/utils/requests'

/**
 * 用于获取店铺详情信息的接口函数
 * @returns 
 */
export const shopMsgReq = () => {
    return axios.get('/shop/info')
}

/**
 * 用于保存修改后的店铺信息的接口函数
 * @param {*} data 
 * @returns 
 */
export const shopConserveReq = (data) => {
    return axios.post('/shop/edit', data)
}